package com.xy.open.feign.http.service;
import com.xy.common.base.entity.AjaxResult;
import com.xy.open.feign.http.service.fall.back.JmUserCallServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
//JmUser服务，服务名称记得和nacos保持⼀一样
@FeignClient(name="JmUser",fallback = JmUserCallServiceFallback.class)
public interface JmUserCallService {
    @RequestMapping("/jm/user/root/list")
    public AjaxResult GetRootList();
    @RequestMapping(value = "/jm/user/find/authenticate",method = RequestMethod.POST)
    public AjaxResult FindAuthenticateData(@RequestParam("authenticate_id") Integer authenticate_id);
}
